"""
File: log_utils.py
Author: ershixiong
Date: 2023/12/26
describe:

"""
import logging

logger = logging.getLogger('wework api')
logger.setLevel(logging.DEBUG)

ch = logging.StreamHandler()

ch.setLevel(logging.DEBUG)

formatter = logging.Formatter('%(asctime)s %(levelno)s  %(name)s \n%(message)s ')

ch.setFormatter(formatter)

logger.addHandler(ch)
